/**
 *
 */
package com.test.domain;

import java.sql.Date;


import com.test.common.BaseDomain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Administrator
 * @date 2018年5月26日 下午3:14:41
 * 
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User  extends BaseDomain {
	
	private String name;
	
	private String password;
	
	private Integer age;
	
	private String phone;
	
	private String idcard;
	
	private String addr;


	/**
	 * @param string
	 * @param i
	 */
	public User(String name, int age) {
		this.name = name;
		this.age = age;
	}
	
	
	@Override
	public String toString() {
		return "User [name=" + name + ", password=" + password + ", age=" + age + ", phone=" + phone + ", idcard="
				+ idcard + ", addr=" + addr + "]";
	}
	

}
